<script type="text/javascript">
<!--
jQuery(function() {
jQuery( "#scoretypes" ).buttonset();
jQuery( "#fromdate" ).datepicker({ maxDate: "+0d", dateFormat: "dd.mm.yy" });
jQuery( "#todate" ).datepicker({ maxDate: "+0d", dateFormat: "dd.mm.yy" });
});
//-->
</script>
<h1>Comments and scores</h1>
<table class="box" style="width:100%;" cellspacing="5">
<tr><td>{$lang['score']}</td><td align="center" colspan="2">
<div id="scoretypes">
<input type="checkbox" id="detractors"/><label for="detractors">{$lang['detractors']}</label><input type="checkbox" id="passives" /><label for="passives">{$lang['passives']}</label><input type="checkbox" id="promoters" /><label for="promoters">{$lang['promoters']}</label>
</div></td></tr>
<tr><td>{$lang['period']}</td><td align="center">{$lang['from']}: <input type="text" id="fromdate" class="feedbackInput inputHeight"/></td><td>{$lang['to']}: <input type="text" id="todate" class="feedbackInput inputHeight"/></td></tr>
<tr><td colspan="4" align="right">
	<a href="#" onclick="commentSearch()">{$lang['search']}</a> »</td></tr>
</table>
<br>
<div id="feedbackResults">
	{include file='myFeedback.tpl'}
</div>
<br>
<p class="readmore">
	<a
		href="{$smarty.const.WEBROOT}/{$smarty.session.l}/feedback/{$business->getCode()}">{$lang['save']}</a>
	»
</p>